package cn.smbms.biz;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.smbms.bean.model.Staff;
import cn.smbms.bean.vo.StaffVo;

public interface IStaffBiz {
	//多条件查询
	public List<Staff> getStaffByStaffVo(StaffVo staffVo);
	//添加用户
	public int add(Staff staff);
	//根据用户帐号查询用户信息
	public Staff findStaffByStaffNum(@Param("staffNum")String staffNum);
	//更新用户信息
	public int update(Staff staff);
	//删除用户信息
	public int delete(@Param("staffId")int staffId);
	//用户登录验证
	public Staff checkLogin(Staff staff);
	//获取总页
	public StaffVo getTotalPages(StaffVo staffVo);
}
